<template>
	<div class="child">
		<h1>我是Child组件</h1>
	</div>
</template>

<script>
	export default {
		name:'Child',
		mounted() {
			setTimeout(()=>{
				this.$bus.$emit('qwe',6)
			})
		},
	}
</script>

<style scoped>
	.child{
		background-color: pink;
		padding: 20px;
	}
</style>